#ifndef __CROSSFIRE_SOUND
#define __CROSSFIRE_SOUND

class CCF_Sound
{
private:
  LPDIRECTSOUNDBUFFER m_soundBuffer;
  FSOUND_SAMPLE* Sound;
  FMUSIC_MODULE* Music;
  public:
   CCF_Sound(void);
  ~CCF_Sound(void);
 
//DSound:WAV,MIDI
  void Initialize( LPDIRECTSOUND8 directSound, LPSTR filename );
//FMOD:Music MOD,MIDI,XM,
  void	MusicLoad(const char* filen);
  void  MusicPlay();
  void	MusicVolume(int volume);
  void	MusicPaused(bool paused);
  void	MusicLooping(bool loop);
  void	MusicStop();
//FMOD:Sound MP3,WAV,OGG
  void	SoundLoad(const char* file);
  void  SoundPlay();
  void  SoundVolume(int volume);
  void	SoundPaused(bool pause);
  void  SoundLoop();

};
#endif